﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="CJOSelect.aspx.cs" Inherits="Ewts.Storage.CJOSelect" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="stylesheet" href="/jquery/jquery.dataTables.css"type="text/css" />
 <script type="text/javascript" src="/jquery/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/jquery/jquery.dataTables.js"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<div class="tab1">
	<h2>CJO列表</h2><br />
    归属地：
    <asp:DropDownList ID="dropBelong" runat="server" 
        onselectedindexchanged="dropBelong_SelectedIndexChanged" AutoPostBack="true"  >
        <asp:ListItem>全部</asp:ListItem>
        <asp:ListItem>上海</asp:ListItem>
        <asp:ListItem>北京</asp:ListItem>
        <asp:ListItem>广州</asp:ListItem>
        <asp:ListItem>苏州</asp:ListItem>   
    </asp:DropDownList>
    <br />
<div class="shadow">
    <table id="tbCJO" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
      <thead>
        <tr>
            <th>序号</th>
            <th>CJO号</th>
            <th>Load号</th>
            <th>客户编码</th>
            <th>客户名称</th>
            <th>状态</th>
             <th>处理地</th>
           <th>收集日期</th>
 
        </tr>
      </thead>
 
 <asp:Repeater ID="reptCJO" runat="server">
   <ItemTemplate>
  
         <tr>
         <td><%# Container.ItemIndex + 1%></td>
      <td><%# Eval("c_cjonno")%></td>
      <td><%# Eval("l_loadnumno")%></td>
       <td><%# Eval("cum_code")%></td>
      <td><%# Eval("cum_name")%></td>
      <td><%# GetStatus(Eval("c_status").ToString())%></td>
       <td><%# Eval("l_rubbisharea")%></td>
       <td><%# Eval("c_cjocolldate")%></td>

   </tr>
  </ItemTemplate>
   </asp:Repeater>

    </table>
   </div>
</div>
    <script type="text/javascript">
        $(document).ready(function () {
            $('#tbCJO').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
                "bJQueryUI": true,
                "sPaginationType": "full_numbers",
                'bPaginate': true,
                "bProcessing": true,
                "iDisplayLength": 10,
                "bSort": true,
                "aaSorting": [[0, "asc"]]
            
            });
        });
</script>
</asp:Content>

